#include "scr_powerup.h"

SCRPowerUp::SCRPowerUp()
	: m_Active(0)
	, m_Power(0)
	, m_Rect(0, 0, 32, 32)
{
}

SCRPowerUp::SCRPowerUp(const int& GridX, const int& GridY, const int& Power)
	: m_Active(1)
	, m_Power(Power)
	, m_Rect(GridX * 32, GridY * 32, 32, 32)
{
}

bool SCRPowerUp::Intersect(const SCRRect& Rect) const
{
	return m_Rect.Intersect(Rect);
}
